const FunElement = () => {
  return <div>函数式组件</div>
  // rsc 函数式组件
}

import React from "react"

 class ClassElement extends React.Component {
  render(){
    return <div>类组件</div>
    // rcc 类组件
  }
}
// export default FunElement
export default ClassElement